package com.lapian.designmode.flyweight.test.test_e;

import com.lapian.designmode.flyweight.my.User;

public class ConcreteRoleE extends AbstractRoleE{

    private String type;

    public ConcreteRoleE(String type) {
        this.type=type;
    }

    @Override
    public void user(User user) {
        System.out.println(user.getName()+"使用"+type+"魂技");
    }
}
